#{extends 'main.html' /}
#{set title:'SaleOrder' /}
<span>订单号:${saleOrder.saleorderno}</span>
<br>
  客户号：<span id='customerno' name="customerno" class='sasa'>0000</span><br>
  <select id="sel">
    <option value="customerno" selected="selected">客户号</option>
    <option value="telephone">手机号码</option>
  </select>
  <input type="text" id="stxt" value="0000">
  <button type="button" id="query">查询</button>
  <br>
  <input type="text" id="atxt" value="" placeholder="productno">
  <button type="button" id="add">添加</button>

  <table>
    <thead>
      <tr>
        <th>商品号</th>
        <th>商品名称</th>
        <th>单价</th>
        <th>数量</th>
        <th>总价</th>
        <th>修改</th>
        <th>删除</th>
      </tr>
    </thead>
    <tbody></tbody>
  </table>
  总金额：
  <span id="totalprice" name="totalprice" class="sasa">0</span><br>

 <button id='siyu' type="button">提交</button>

 #{set 'moreScripts'}
 <script type="text/javascript">
var path1 = '@{Products.searchByno}';
var path2 = '@{Customers.searchBy}';
var path3 = '@{SaleOrders.saveSaleOrder}'
 </script>
 #{/set}
 
<script type="text/javascript" src="@{'/public/javascripts/saleOrder.js'}"></script>
#{set 'moreStyles'}
<style type="text/css" media="screen">
.input{
    border: none;
    outline: none;
    background-color: #fff;
}
</style>
#{/set}